package cn.arnold.leetcode;

import java.lang.reflect.Method;

/**
 * @Author Arnold
 * @Desc 临时测试类
 **/
public final class TempDemo {
    public static void main(String[] args) {
        String a = "";
        System.out.println(a.getBytes().length);
        //反射
        Method[] methods = TempDemo.class.getMethods();
        for (int i = 0; i < methods.length; i++) {
            System.out.println(methods[i]);
        }
    }

    public final void method1(){

    }

    public void method2(){

    }
}
